package cn.lu.service;

import cn.lu.pojo.Section;
import cn.lu.utils.Result;

import java.util.List;

public interface SectionService {
    int addInsert(Section section);

    List<Section> selectChapterId(Integer chapterId);

    int deleteByIdAndUserId(Integer sectionId, Integer userId);

    Result addInTheUserId(Section section, Integer userId);

    public Result updateByIdAndUserId(Section section, Integer userId);
}